export default defineAppConfig({
  pages: [
    'pages/Home/MicroPage/index',
    'pages/Home/User/index',
    'pages/Home/Information/index',
    'pages/Home/redirect/index',
    'pages/Home/MessageList/index',
    "pages/Home/Shop/index",
    'pages/Home/QuestionCenter/index'
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
    // pageOrientation:'landscape'
  },
  tabBar: {
    color: "#4E5966",
    selectedColor: "#1D2835",
    backgroundColor: "#FFFFFF",
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/Home/MicroPage/index",
        iconPath: "./assert/tabbar/user.png",
        selectedIconPath: "./assert/tabbar/userCheck.png",
        text: "首页",
      },
      {
        pagePath: "pages/Home/Shop/index",
        iconPath: "./assert/tabbar/shop.png",
        selectedIconPath: "./assert/tabbar/shopCheck.png",
        text: "商品",
      },
      {
        pagePath: "pages/Home/User/index",
        iconPath: "./assert/tabbar/me.png",
        selectedIconPath: "./assert/tabbar/meCheck.png",
        text: "我的",
      },
    ],
  },
  subPackages: [
    {
      root: "pages/Login",
      pages: [
        'LoginMobile/index',
        'LoginSelect/index',
      ],
    },
    {
      root: "pages/Shop",
      pages: [
        "CollectWps/index", //问卷信息页面
        "SetAddressBook/index",//设置地址
        "WxPageInfo/index",//设置地址
        "PayShopDetail/index",//支付后的商品详情
        "ShopDetail/index",//商品详情
        "Empty/index", //直播详情
        "FormList/index", //表单列表
        "SearchList/index", //搜索商品列表
        "ShopList/index", //商品列表
        "SetEmpty/index", //直播回放
        "RenderLink/index", //打开素材
        "VideoDetails/index", //直播回放
        "WebView/index", //打开素材
        "PrizeList/index", //奖品列表
        "MutualList/index", //互助列表
        "MutualAll/index", //互助列表
        "MutualAsk/index", //互助列表
        "MutualDetail/index", //互助列表
        "MutualQuestion/index", //互助列表
        "MyMutuaList/index", //互助列表
        "FormDemo/index", //互助列表
      ],
    },
    {
      root: "pages/User",
      pages: [
        'ShareCode/index',
        'MyMutuaList/index',
        'MyCollect/index',
        'QaRecord/index',
        "AddressBookList/index", //地址列表
        "SelectedCourses/index", //地址列表
        "Course/index", //地址列表


      ],
    },
    {
      root: "pages/Order",
      pages: [
        'OrderList/index',
        'OrderDetails/index',
        "PayOrder/index", // 支付页面
        "OrderWeex/index", // 微信支付页面
      ],
    },
    {
      root: "pages/index",
      pages: [
        'redirect/index',
      ],
    },

  ],

});
